package com.chianghao.rock.admin.system.user.dto;

import java.util.List;

import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiModel;

@ApiModel("设置用户角色")
public class SetUserRoleDto {

	
	@NotNull(message = "error:user.id,not.null")
	private Long userId;
	
	private List<Long> roles;
	
	public Long getUserId() {
		return userId;
	}
	public void setUserId(Long userId) {
		this.userId = userId;
	}
	public List<Long> getRoles() {
		return roles;
	}
	public void setRoles(List<Long> roles) {
		this.roles = roles;
	}
	
	
	
}
